package Atm01;

import javax.swing.*;
import java.awt.*;

/**
 * 查询界面
 */
public class SearchPanel  extends  JPanel{
    private JLabel getmoneyLabel = new JLabel("余额:");

    private ImageIcon sureImg= new ImageIcon("Images/buttonSure.jpg");


    private Font font = new Font("黑体",Font.BOLD,30);

    private JButton sureBth= new JButton(sureImg);

    public SearchPanel(){
        this.setLayout(null);
        sureBth.setBounds(580,300,150,50);

        getmoneyLabel.setBounds(350,200,400,50);
        getmoneyLabel.setFont(font);
        this.add(getmoneyLabel);
        this.add(sureBth);
        this.setOpaque(false);

    }


}
